package com.ynb.lighterbuffer;

public class BoolSchema implements ISchema<Boolean>{
	@Override
	public void serialize(Boolean o,BinaryWriter writer) throws Exception{
		writer.writeBool(o);
	}
	@Override
	public Boolean deSerialize(Class<Boolean> type,BinaryReader reader) throws Exception{
		return reader.readBool();
	}
}
